package com.jz.community.moduleshoppingguide.neighbor.bean;

import com.jz.community.basecomm.bean.baseCommInfo.PageInfo;

import java.util.List;

public class CirclePersonsBean {

    /**
     * _embedded : {"content":[{"id":36,"addTime":"2018-05-08 02:01:08","userId":1,"nickName":"string","headImg":"string","status":0,"circleId":1,"links":{"self":{"href":"http://microservice.shoppingyizhan.com/ncs/circles-users/36"}}},{"id":19,"addTime":"2018-04-20 02:19:59","userId":6,"nickName":"圈①No.6","headImg":"No.6","status":0,"circleId":1,"links":{"self":{"href":"http://microservice.shoppingyizhan.com/ncs/circles-users/19"}}},{"id":3,"addTime":"2018-04-12 18:05:41","userId":3,"nickName":"圈①No.3","headImg":"No.3","status":0,"circleId":1,"links":{"self":{"href":"http://microservice.shoppingyizhan.com/ncs/circles-users/3"}}},{"id":2,"addTime":"2018-04-12 18:05:06","userId":2,"nickName":"圈①No.2","headImg":"No.2","status":0,"circleId":1,"links":{"self":{"href":"http://microservice.shoppingyizhan.com/ncs/circles-users/2"}}}]}
     * _links : {"self":{"href":"http://microservice.shoppingyizhan.com/ncs/circles/1/users?page=0&size=10&sort=addTime,desc"}}
     * page : {"size":10,"totalElements":4,"totalPages":1,"number":0}
     */

    private EmbeddedBean _embedded;
    private PageInfo page;

    public EmbeddedBean get_embedded() {
        return _embedded;
    }

    public void set_embedded(EmbeddedBean _embedded) {
        this._embedded = _embedded;
    }

    public PageInfo getPage() {
        return page;
    }

    public void setPage(PageInfo page) {
        this.page = page;
    }

    public static class EmbeddedBean {
        private List<ContentBean> content;

        public List<ContentBean> getContent() {
            return content;
        }

        public void setContent(List<ContentBean> content) {
            this.content = content;
        }

        public static class ContentBean {
            /**
             * id : 36
             * addTime : 2018-05-08 02:01:08
             * userId : 1
             * nickName : string
             * headImg : string
             * status : 0
             * circleId : 1
             * links : {"self":{"href":"http://microservice.shoppingyizhan.com/ncs/circles-users/36"}}
             */

            private String id;
            private String addTime;
            private String userId;
            private String nickName;
            private String headImg;
            private String status;
            private String circleId;
            private LinksBean links;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getAddTime() {
                return addTime;
            }

            public void setAddTime(String addTime) {
                this.addTime = addTime;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public String getHeadImg() {
                return headImg;
            }

            public void setHeadImg(String headImg) {
                this.headImg = headImg;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getCircleId() {
                return circleId;
            }

            public void setCircleId(String circleId) {
                this.circleId = circleId;
            }

            public LinksBean getLinks() {
                return links;
            }

            public void setLinks(LinksBean links) {
                this.links = links;
            }

            public static class LinksBean {
                /**
                 * self : {"href":"http://microservice.shoppingyizhan.com/ncs/circles-users/36"}
                 */

                private SelfBean self;

                public SelfBean getSelf() {
                    return self;
                }

                public void setSelf(SelfBean self) {
                    this.self = self;
                }

                public static class SelfBean {
                    /**
                     * href : http://microservice.shoppingyizhan.com/ncs/circles-users/36
                     */

                    private String href;

                    public String getHref() {
                        return href;
                    }

                    public void setHref(String href) {
                        this.href = href;
                    }
                }
            }
        }
    }
}
